import Search.ArrayGenerator;
import Search.Linear;
import Search.Student;

public class Main {
    public static void main(String[] args) {
        int n = 100000;
        Integer[] data = ArrayGenerator.getOrderedArray(n);
        long startTIme = System.nanoTime();
        int res = Linear.search(data, n);
        long endTime = System.nanoTime();

        double time = (endTime - startTIme) / 1000000000.0;
        System.out.println(time + 's');
    }
}